#include "ThreadPool.hpp"
#include "Thread.hpp"
#include <iostream>
#include <memory>
#include <unistd.h>
using namespace ThreadModule;

int main()
{
    std::unique_ptr<ThreadPool<int>> uq(new ThreadPool<int>());
    uq->Init();
    uq->Start();

    sleep(2);
    uq->Stop();
    uq->Wait();
    return 0;
}